package factory.components;

import core.Component;
import core.Coordinate;
import factory.ComponentInterface;

public class Earth implements ComponentInterface {
	private String name; 
	private Component component;

	public Earth() {
		component = new Component(new Coordinate(0, 0), new Coordinate(0, 0));
		this.name = "Earth";
	}

	public Earth(Coordinate position, Coordinate size, String name) {
		component = new Component(position, size);
		this.name = name;
	}

	public Coordinate getSize() {
		return component.getSize();
	}

	public void setSize(Coordinate size) {
		component.setSize(size);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Coordinate getPosition() {
		return component.getPosition();
	}

	public void setPosition(Coordinate position) {
		component.setPosition(position);
	}

}